package com.nuanshui.heatedloan.middleware.mongodb;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.NoRepositoryBean;

import java.util.List;

@NoRepositoryBean
public interface BaseUserRecordRepository<T> extends MongoRepository<T,Long> {

    List<T> findByUserId(String userId);

    //List<T> findByUserRawId(String userRawId);
}
